Skip to content

fix(deps): add missing robot_descriptions dependency#534

Merged
petercorke merged 2 commits into
mainfrom
fix/robot-descriptions-missing-dep
Jul 4, 2026
Merged

fix(deps): add missing robot_descriptions dependency#534
petercorke merged 2 commits into
mainfrom
fix/robot-descriptions-missing-dep

Conversation

@petercorke

Copy link
Copy Markdown
Owner

Summary

  • URDFRobot.py's _load_rd_module() imports robot_descriptions.<name>_description submodules to load models like YuMi, PR2, UR3/5/10, and Jaco — but robot_descriptions was never added to pyproject.toml, in any commit, ever.
  • Every load of those models failed with ValueError: Robot model 'X' is not available..., which reads like a network/cache/spelling issue — it's actually just ModuleNotFoundError getting caught and re-raised with a friendlier (but misleading) message.
  • This accounts for 13-14 of the remaining test failures on main's CI, unrelated to the rtb-data/coal issues fixed elsewhere today.

Test plan

  • Rehearsed locally: installed from this branch into a clean venv, loaded rtb.models.URDF.UR5() and rtb.models.YuMi() successfully (each live-clones its description repo via robot_descriptions on first use)
  • CI: test_UR5, test_UR3, test_UR10, test_pr2, test_Jaco, YuMi-related tests now pass

🤖 Generated with Claude Code

petercorke and others added 2 commits July 4, 2026 13:29
URDFRobot.py's _load_rd_module() has imported robot_descriptions
submodules to load models like YuMi, PR2, UR3/5/10, and Jaco since
this feature was introduced, but robot_descriptions was never added
to pyproject.toml. Every load of those models failed with a generic
"Robot model 'X' is not available" ValueError (ModuleNotFoundError
wrapped and re-raised), which reads like a network/cache problem —
it's just a missing dependency declaration. Fixes 13-14 of the test
failures on main's CI.

Rehearsed locally: installed from this branch into a clean venv,
loaded UR5 and YuMi successfully (each live-clones its description
repo via robot_descriptions on first use, as designed).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
rtb-data 2.0.0 (the reorganised model data matching main's current
layout) is live on PyPI. Pin the floor explicitly rather than relying
on an unpinned dependency defaulting to latest — same reasoning as
the rtb-data<2 ceiling added to the 1.3.x maintenance line, just the
other direction.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@petercorke petercorke merged commit 66c40d4 into main Jul 4, 2026
7 of 13 checks passed
@github-actions github-actions Bot mentioned this pull request Jul 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant